#include <stdio.h>
#include "app_buffer.h"

int main(int argc, char const *argv[])
{
    double_buffer_t *db_buff = app_buffer_init(10);
    app_buffer_write(db_buff, "Hello\n", 7);
    char data_buffer[10];
    app_buffer_read(db_buff, data_buffer, sizeof(data_buffer));
    printf("%s",data_buffer);
    app_buffer_destroy(db_buff);
    return 0;
}